package mr.ali.webvideo.service;

import com.github.pagehelper.PageInfo;
import mr.ali.webvideo.model.CollectionPlayCllect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-16
 */
public interface ICollectionPlayCllectService extends IService<CollectionPlayCllect> {

    PageInfo<CollectionPlayCllect> findAll(Integer pageNum, Integer pageSize, Integer userId, Integer videoId);

    Integer delete(Integer userId, Integer urlId);

    Long CountPlayCommentIndex(Integer urlId);

    Boolean SelectNewCollect(Integer userId, Integer urlId);

    Integer insert(Integer userId, Integer videoId, Integer urlId, Integer Episode);
}
